{strip}{if $pdloaded ne 0}
    {foreach from=$categorys item=cate}
        {if !$cate.s and $cate.cat_name ne ''}
            <div class="center serialCaption {$stype}">- {$cate.cat_name} -</div>
        {/if}
        {if $cate.pd|@count neq 0}
            <div class="clearfix pdBlock">
                {foreach from=$cate.pd item=pd}
                    <section class="productListWrap {$stype} {if $cate.s}patch{/if}" onclick="location = '{$docroot}?/vProduct/view/id={$pd.product_id}&showwxpaytitle=1';">
                        <a class="productList{if $stype ne 'hoz'} clearfix{/if}">
                            <img class="photo" src="{$docroot}static/product_hpic/{$pd.catimg}" />           
                            <title class="title Elipsis">{$pd.product_name}1</title>
                        </a>
                    </section>
                {/foreach}
            </div>
        {/if}
    {/foreach}
{else}0{/if}{/strip}